package com.shujia.wyh.day28;

public class ToolTest {
    public static void main(String[] args) {
        Person person = new Person();
//        person.name = "xiaohu";

        Tool tool = new Tool();
        tool.setProperty(person,"name","xiaohu");
        tool.setProperty(person,"age",18);
        tool.setProperty(person,"address","安徽合肥");
        tool.setProperty(person,"id","1001");
        System.out.println(person);
    }
}
